package com.cyt.sys.model.vo;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * 基础部分-组织人员
 *
 * @author shengQiang yu
 * @date 2019-01-28 16:19
 */
@Getter
@Setter
@NoArgsConstructor
public class SysOrgUserVo implements Serializable {
    /**
     * 组织机构id
     */
    private String id;

    /**
     * 机构表Id
     */
    private String orgId;

    /**
     * 机构表Id
     */
    private String userId;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 用户名称
     */
    private String userName;

    /**
     * 组织机构名称
     */
    private String orgName;

    public SysOrgUserVo(String orgId, String userId) {
        this.orgId = orgId;
        this.userId = userId;
    }

    public SysOrgUserVo(String orgId, String userId, String userName) {
        this.orgId = orgId;
        this.userId = userId;
        this.userName = userName;
    }
}
